<template>
  <div>
    <div>
      <h4>动态评估</h4>
      <el-row>
        <el-col :span="6">
          <div>
            <span>1.颈椎屈曲 </span>
            <el-select v-model="pgForm.dynamic_value1" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>2.颈椎伸展 </span>
            <el-select v-model="pgForm.dynamic_value2" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>3.颈椎旋转 </span>
            <el-select v-model="pgForm.dynamic_value3" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>4.上肢模式一 </span>
            <el-select v-model="pgForm.dynamic_value4" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>5.上肢模式二 </span>
            <el-select v-model="pgForm.dynamic_value5" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>6.多部位屈曲 </span>
            <el-select v-model="pgForm.dynamic_value6" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>7.多部位伸展 </span>
            <el-select v-model="pgForm.dynamic_value7" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>8.多部位旋转 </span>
            <el-select v-model="pgForm.dynamic_value8" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6">
          <div>
            <span>9.单腿站立 </span>
            <el-select v-model="pgForm.dynamic_value9" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="6" >
          <div>
            <span>10.高举深蹲 </span>
            <el-select v-model="pgForm.dynamic_value10" placeholder="请选择">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "dynamic",
  title: "动态评估",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: 'FN',
        label: 'FN'
      }, {
        value: 'DN',
        label: 'DN'
      }, {
        value: 'FP',
        label: 'FP'
      }, {
        value: 'DP',
        label: 'DP'
      }, {
        value: '/',
        label: '/'
      }],
      pgForm: {
        dynamic_value1: '',
        dynamic_value2: '',
        dynamic_value3: '',
        dynamic_value4: '',
        dynamic_value5: '',
        dynamic_value6: '',
        dynamic_value7: '',
        dynamic_value8: '',
        dynamic_value9: '',
        dynamic_value10: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-select{
  width: 40%
}

</style>
